<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<title>404财富管家</title>
<meta name="keywords" content="财富管家" />
<meta name="description" content="财富管家" />
<link rel="shortcut icon" th:href="@{/images/littlelogo.png}">
<link rel="stylesheet" th:href="@{/css/layui/css/layui.css}" media="all">
<link rel="icon" th:href="@{/favicon.ico}" mce_href="/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" th:href="@{/css/style.css}" />
<link rel="stylesheet" th:href="@{/css/index.css}" />
<link th:href="@{/css/iconfont/RjdaoIcon.css}" rel="stylesheet" type="text/css">
<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
<script th:src="@{/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/js/jquery-3.2.1.min.js}"></script>
<script th:src="@{/css/layui/layui.all.js}" charset="utf-8" th:media="all"></script>
		<style type="text/css">
			.layui-table tbody tr td{
				font-size: 20px;
				font:bolder;
			}
			.infotz {
				padding: 3px;
				margin: auto;
			}
			
			.infotz td{
				font-size: 16px;
			}
		</style>
</head>

<body style="background-color:#f0f0f0;">

<!----header s---->
<div class="topnav">
	<div class="mainw w">
		<div class="l-txt">欢迎致电：400-1234-123 &nbsp;&nbsp; 服务时间：08:30-17:30（工作日）</div>

		<a th:href="@{/information/xinxi2}" class="dh">帮助中心</a>
		<a th:href="@{/information/xinxi3}" class="dh">新手指引</a>

	</div>
</div>

<header>
	<div class="hmain w">
      <a href="../index.html" class="logo"><img th:src="@{/images/logo.png}"></a>
		<a th:href="@{/register}" class="topbut">注册</a>
		<a th:href="@{/login}" class="topbut-cur">登录</a>
		<a th:href="@{/logout}" class="ubut">退出</a>
		<a th:href="@{/userCenter/index}" class="ubut" style="padding:0 15px;">个人中心<span><dl th:if="${session.user!=null}" th:text="${session.user.balance}"></dl></span></a>
		<nav>
			<a th:href="@{/index}" >首页</a>
			<a th:href="@{/invest/list}" class="cur">我要投资</a>
			<a th:href="@{/borrowCenter/index}">我要借贷</a>
			<a th:href="@{/zhongchou/list}">众筹中心</a>
			<a th:href="@{/information/xinxi1}">信息披露</a>
		</nav>
    </div>
</header>
<!----header e---->

<!--<div>
	<br>
	<a href="#" onclick="javascript:history.back(-1);" style="margin-left: 180px; font-size: 16px;">返回</a>
</div>-->
<div  style="width: 1000px;margin: auto;background-color: white;">
			<div class="layui-col-md7" style="width: 1000px; margin-top: -285px;margin-left: auto; background-color: white;" >
				<div class="layui-row grid-demo grid-demo-bg1">
					<div class="layui-col-md12" >
						<div class="grid-demo" style="border: solid 1px; border-color: #E4E7ED;height: 60px;">
							<div style="margin-top: 10px;">
								<img th:src="@{/images/diya.gif}" style="margin-left: 10px;float: left;margin-top: 5px;"/>
								<div style="width: 500px;float: left;">
									<p style="font-size: 20px; color: #007DDB; margin-left: 10px;margin-top:5px;" th:text="${info.projectname}">车易贷</p>
								</div>
							</div>
						</div>
					</div>
					<div style="border: solid 1px; border-color: #E4E7ED; width: 999px; height: 250px;">
						<div class="layui-col-md9">
							<div class="grid-demo grid-demo-bg2">
								<table class="layui-table" lay-skin="nob" style="width: 700px;border-right:  #E4E7ED solid;">

									<tbody>
										<tr>
											<td >借款金额</td>
											<td style="color: #FFB800;" th:text="${info.borrowmoney} + '元'">700000.00元</td>
											<td style="width: 50px;"></td>
											<td>年利率</td>
											<td th:text="${info.rateofreturn} + '%'">13.20%</td>
										</tr>
										<tr>
											<td>借款期限</td>
											<td th:text="${info.borrowtime} + '个月'">6个月</td>
											<td style="width: 50px;"></td>
											<td>还款方式</td>
											<td>按月付息</td>
										</tr>
										<tr>
											<td>借款标状态</td>
											<td th:text="(${info.schedule} == 100)?'还款中':'借贷中'">还款中</td>
											<td style="width: 50px;"></td>
											<td>投标进度</td>
											<td th:text="${info.schedule} + '%'">100%</td>
										</tr>
										<tr>
											<td>月还利息</td>
											<td colspan="3" th:text="${info.MonthlyReturn} + '元'">770.00元</td>

										</tr>
									</tbody>
								</table>

							</div>
						</div>
						<div class="layui-col-md3">
							<div class="grid-demo grid-demo-bg3">
								<div style="margin-top: 10px;">
									<span style="font-size: 20px;">可投余额：</span>&nbsp;<span style="font-size: 20px;" th:text="(${info.borrowmoney} * (1 - ${info.schedule}/100))">0.00</span><span style="font-size: 20px;">元</span>
								</div><br>
								<div style="margin-top: 5px;">
									<span style="font-size: 15px;">最低投资金额1000元</span><br />
									<span style="font-size: 15px;">最高投标金额：<span style="color: gray;" th:text="(${info.borrowmoney} * (1 - ${info.schedule}/100)) + '元'">不限</span></span><br />
									<span style="font-size: 15px;">投标金额必须为10的倍数</span><br />
									
								</div>
							</div>
						</div>
					</div>

				</div>
			</div>
			<div class="layui-tab layui-tab-card" lay-filter="docDemoTabBrief" style="width: 630px;height: 350px; margin-top: 300px;">
				<ul class="layui-tab-title">
					<li class="layui-this">基本信息</li>
					<li>交易记录</li>
					<li>还款表现</li>
				</ul>
				<div class="layui-tab-content" style="height: 100px;">
					<div class="layui-tab-item layui-show">
						<div class="layui-carousel" id="test1" lay-filter="test1">
							<div carousel-item=""  style="margin-top: -10px;">
								<div th:each="idCard:${idCards}"><img style="width: 615px;height: 280px;" th:src="@{'/article/cfgj/'+ ${idCard.imgPath}}"></div>
								<div th:each="car:${cars}"><img style="width: 615px;height: 280px;" th:src="@{'/article/cfgj/'+ ${car.imgPath}}"></div>
								<div th:each="home:${homes}"><img style="width: 615px;height: 280px;" th:src="@{'/article/cfgj/'+ ${home.imgPath}}"></div>
								<div th:each="other:${others}"><img style="width: 615px;height: 280px;" th:src="@{'/article/cfgj/'+ ${other.imgPath}}"></div>
							</div>
						</div>

					</div>
					<script>
                        layui.use(['carousel', 'form'], function(){
                            var carousel = layui.carousel
                                ,form = layui.form;

                            //常规轮播
                            carousel.render({
                                elem: '#test1'
                                ,arrow: 'always'
                            });

                            //改变下时间间隔、动画类型、高度
                            carousel.render({
                                elem: '#test2'
                                ,interval: 1800
                                ,anim: 'fade'
                                ,height: '120px'
                            });

                            //设定各种参数
                            var ins3 = carousel.render({
                                elem: '#test3'
                            });
                            //图片轮播
                            carousel.render({
                                elem: '#test10'
                                ,width: '778px'
                                ,height: '440px'
                                ,interval: 5000
                            });

                            //事件
                            carousel.on('change(test4)', function(res){
                                console.log(res)
                            });

                            var $ = layui.$, active = {
                                set: function(othis){
                                    var THIS = 'layui-bg-normal'
                                        ,key = othis.data('key')
                                        ,options = {};

                                    othis.css('background-color', '#5FB878').siblings().removeAttr('style');
                                    options[key] = othis.data('value');
                                    ins3.reload(options);
                                }
                            };

                            //监听开关
                            form.on('switch(autoplay)', function(){
                                ins3.reload({
                                    autoplay: this.checked
                                });
                            });

                            $('.demoSet').on('keyup', function(){
                                var value = this.value
                                    ,options = {};
                                if(!/^\d+$/.test(value)) return;

                                options[this.name] = value;
                                ins3.reload(options);
                            });

                            //其它示例
                            $('.demoTest .layui-btn').on('click', function(){
                                var othis = $(this), type = othis.data('type');
                                active[type] ? active[type].call(this, othis) : '';
                            });
                        });
					</script>

					<div class="layui-tab-item">
						<table class="layui-table" lay-skin="nob" lay-even="" style="width: 600px;">
							<colgroup>
								<col width="100px">
								<col width="100px">
								<col width="200px">
								
							</colgroup>
							<thead>
								<tr>
									<th>投资人</th>
									<th>投资金额</th>
									<th>投资时间</th>

								</tr>
							</thead>
							<tbody th:each="inv:${invests}">
								<tr>
									<td th:text="${inv.name}">王**</td>
									<td th:text="${inv.investmoney}">10.00元</td>
									<td th:text="${#dates.format(inv.createtime, 'yyyy-MM-dd hh:mm:ss')}">2018-09-18 17:56</td>
								</tr>
						</table>
					</div>
					<div class="layui-tab-item">
						<table class="layui-table" lay-skin="nob" lay-even="" style="width: 600px;">
							<colgroup>
								<col width="100px">
								<col width="100px">
								<col width="100px">
								<col width="100px">
								<col width="100px">
							</colgroup>
							<thead>
								<tr>
									<th>还款日期</th>
									<th>状态</th>
									<th>已还本息</th>
									<th>待还本息</th>
									<th>是否逾期</th>
								</tr>
							</thead>
							<tbody>
								<tr th:each="repayment:${repay}">
									<td th:text="${#dates.format(repayment.pepaymenttime, 'yyyy-MM-dd')}" style="font-size: 16px;">18/10/08</td>
									<td>正常还款</td>
									<td th:text="${repayment.already}">770</td>
									<td th:text="${repayment.notreturned}">0.00</td>
									<td>否</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
			<div style="width: 365px; height: 500px;float:right;margin-top: -355px;">
				<div style="border: solid 1px; border-color:  #E4E7ED;">
					<p style="font-size: 24px; margin-top: 5px;margin-left: 20px;">认证信息</p>
					<div style="width: 140px; height: 140px; float: right; ">
						<p style="color: #007DDB; font-size: 20px; margin-left: -70px; " th:text="${user.name}">XXX用户</p>
						&nbsp;<img th:src="@{/images/shiming.png}" style="width: 62px; height: 26px; margin-left: -80px;"/>
						<img th:src="@{/images/shouji.png}" style="width: 62px; height: 26px; margin-right: 10px;"/>
					</div>
					<img th:src="@{/images/person.png}" class="img-thumbnail" style="width: 80px; height: 80px;float: right;margin-right: 111px;">
					<table class="infotz" lay-skin="nob" style="width: 340px;">

						<tbody>
						<tr>
								<td style="width: 150px;" th:text="'发布借款笔数：' + ${counts} + '笔'"> 发布借款笔数:1笔</td>


							</tr>
						<tr>
							<!--<td>待还：￥73,850.00</td>-->
							<!--<td>逾期金额：￥0.00</td>-->
							<td style="width: 150px;" th:text="'成功借款笔数:' + ${acc} +'笔'">成功借款笔数:1笔</td>
						</tr>
						<tr>
								<td th:text="'还清期数:' +${repaycount} +'期'">还清期数:1期</td>

						</tr>
						<tr>
								<!--<td>严重逾期次数：0次</td>-->
							<td th:text="'总借入：￥' + ${sum} ">总借入：￥70,000.00</td>
						</tr>
						<tr>
							<td>逾期次数:0次</td>
						</tr>
						</tbody>
					</table>


				</div>
			</div>
		</div>

		<script>
			layui.use('element', function() {
				var $ = layui.jquery,
					element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块

				//触发事件
				var active = {
					tabAdd: function() {
						//新增一个Tab项
						element.tabAdd('demo', {
							title: '新选项' + (Math.random() * 1000 | 0) //用于演示
								,
							content: '内容' + (Math.random() * 1000 | 0),
							id: new Date().getTime() //实际使用一般是规定好的id，这里以时间戳模拟下
						})
					},
					tabDelete: function(othis) {
						//删除指定Tab项
						element.tabDelete('demo', '44'); //删除：“商品管理”

						othis.addClass('layui-btn-disabled');
					},
					tabChange: function() {
						//切换到指定Tab项
						element.tabChange('demo', '22'); //切换到：用户管理
					}
				};

				$('.site-demo-active').on('click', function() {
					var othis = $(this),
						type = othis.data('type');
					active[type] ? active[type].call(this, othis) : '';
				});

				//Hash地址的定位
				var layid = location.hash.replace(/^#test=/, '');
				element.tabChange('test', layid);

				element.on('tab(test)', function(elem) {
					location.hash = 'test=' + $(this).attr('lay-id');
				});

			});
		</script>
<!---invest-list e--->





<!---footer s--->
<footer>
	<div class="fmain w">
    	<div class="fm-top">
        	<div class="left">
            
            	<div class="ilist">
                	<h1>联系我们</h1>
                    <div class="t">客服电话</div>
                    <div class="tel">400-1234-123</div>
                    <div class="t">邮箱：quanminsat@163.com</div>
                </div>

				<div class="ilist">
					<h1>关于我们</h1>
					<a th:href="@{/information/jianjie}">公司简介</a>
					<a th:href="@{/information/gonggao}">最新公告</a>
					<a th:href="@{/information/join_us}">加入我们</a>
				</div>
            </div>
			<div class="right" style="margin-right:-480px">
				<div class="ewm" style=""><img th:src="@{/images/gzh.jpg}"><span>关注公众号</span></div>
			</div>
        </div>
          <div class="fm-bot" style="text-align: center;">
        	<span>&copy; 2018 &nbsp;全民科技有限公司 &nbsp;京ICP备：123456789号 </span>
        	<br />
            <dl>市场有风险 投资需谨慎</dl>
        </div>
    </div>
</footer>
<!---footer e--->




<!---客服代码 S--->
<div class="suspension">
	<div class="suspension-box">
		<div class="d d-service">
			<i class="arrow"></i>
			<div class="inner-box">
				<div class="d-service-item clearfix">
					<a href="http://wpa.qq.com/msgrd?v=3&uin={$WEB.qq}&site=qq&menu=yes" class="clearfix"><span class="circle"><i class="i-qq"></i></span><h3>咨询在线客服</h3></a>
				</div>
			</div>
		</div>
		<div class="d d-service-phone">
			<i class="arrow"></i>
			<div class="inner-box">
				<div class="d-service-item clearfix">
					<span class="circle"><i class="i-tel"></i></span>
					<div class="text">
						<p>服务热线</p>
						<p class="red number">400-0000-000</p>
					</div>
				</div>
				<div class="d-service-intro clearfix">
					
				</div>
			</div>
		</div>
		<div class="d d-qrcode">
			<i class="arrow"></i>
			<div class="inner-box">
				<div class="qrcode-img"><img th:src="@{/images/side_ewm.jpg}" alt=""></div>
				<p>微信服务号</p>
			</div>
		</div>

	</div>
</div>

<script type="text/javascript" th:src="@{/js/jquery-1.7.2.min.js}"></script>
<script type="text/javascript">
$(document).ready(function(){

	/* ----- 侧边悬浮 ---- */
	$(document).on("mouseenter", ".suspension .a", function(){
		var _this = $(this);
		var s = $(".suspension");
		var isService = _this.hasClass("a-service");
		var isServicePhone = _this.hasClass("a-service-phone");
		var isQrcode = _this.hasClass("a-qrcode");
		if(isService){ s.find(".d-service").show().siblings(".d").hide();}
		if(isServicePhone){ s.find(".d-service-phone").show().siblings(".d").hide();}
		if(isQrcode){ s.find(".d-qrcode").show().siblings(".d").hide();}
	});
	$(document).on("mouseleave", ".suspension, .suspension .a-top", function(){
		$(".suspension").find(".d").hide();
	});
	$(document).on("mouseenter", ".suspension .a-top", function(){
		$(".suspension").find(".d").hide(); 
	});
	$(document).on("click", ".suspension .a-top", function(){
		$("html,body").animate({scrollTop: 0});
	});
	$(window).scroll(function(){
		var st = $(document).scrollTop();
		var $top = $(".suspension .a-top");
		if(st > 400){
			$top.css({display: 'block'});
		}else{
			if ($top.is(":visible")) {
				$top.hide();
			}
		}
	});
	
});	
</script>
<!---客服代码 E--->
</body>
<script th:inline="javascript">
    var user=[[${session.user}]];
    if(user==null){
        document.getElementsByClassName("topbut")[0].style.display=""
        document.getElementsByClassName("topbut-cur")[0].style.display=""
        document.getElementsByClassName("ubut")[0].style.display="none"
        document.getElementsByClassName("ubut")[1].style.display="none"
    }else {
        document.getElementsByClassName("ubut")[0].style.display="display"
        document.getElementsByClassName("ubut")[1].style.display="display"
        document.getElementsByClassName("topbut")[0].style.display="none"
        document.getElementsByClassName("topbut-cur")[0].style.display="none"
    }
    </script>
</html>
